//
//  BannerCell.h
//  A段项目,漫画
//
//  Created by dllo on 15/4/21.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "banner.h"
#import "BannerCollectionViewCell.h"
#import "UIImageView+WebCache.h"

@protocol BannerCellDelegate <NSObject>

- (void)getSelectedBannerIndex:(NSString*)myID;

@end

@interface BannerCell : UITableViewCell<UICollectionViewDataSource,UICollectionViewDelegate>
@property(nonatomic, assign)id<BannerCellDelegate>delegate;

@property(nonatomic, retain)UICollectionView *bannerCollection;
@property(nonatomic, retain)UILabel *titleLabel;

@property(nonatomic, retain)NSMutableArray *myBanners;

@property(nonatomic, retain)NSNumber *bannerCount;
@property(nonatomic, retain)UIPageControl *myPageControl;
@end
